home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d17
/
canonlbp.arc
/
CANONLBP.TXT
next >
Wrap
Text File
|
1986-10-25
|
6KB
|
116 lines
Canon LBP-8A1 Laser Printer Controls
October 24, 1986
By Nelson Ford
P.O.Box 35705 Houston, TX 77235-5705
(713) 721-6104 CIS# 71355,470
The Canon Laser manual has to be the worst documentation for a major piece of
hardware or software for microcomputers in this century. (Records of this type
were not kept for microcomputers prior to 1900.)
Here are some control codes that I've managed to scrape out.
If anyone else has any more to add, please do so!
Put Switch 3-1 up for ISO mode. The DIP switches are a little difficult to get
to and identify. There are 4 sets behind a metal plate in the back of the
machine. Sw. 3-1 is the third bank from the left, the first switch on that
bank. It should be the only one on that bank in the up position.
Even if you are a complete novice, you might be able to use the following
information to control the printer if your text editor lets you enter ASCII
codes. If you don't know if your's does, it doesn't hurt to try. Hold down the
ALT key and press the numbers 155 on the cursor pad then let go of the ALT key.
If a cent sign (a "c" with a vertical slash thru it) appears, you are in
business. Whenever you want to turn on shaded print, for example, just hold down
ALT, press 155 on the number pad, release ALT and type "5m". Then just continue
your typing. Of course, these codes only work if you have a Canon LBP-8A1/2
Laser printer. To see examples of these codes at work, look at the order form of
The Public (Software) Library.
<ascii>
4 lines per inch: <155>1 L
6 lpi <155>0 L
8 lpi <155>4 L
double width <155>100;200 B
double height <155>200;100 B
double hi/wide <155>200;200 B
normal hi/wide <155>100;100 B
bold on <155>1m off <155>22m
italic on <155>3m off <155>23m
underlined on <155>4m off <155>24m
shaded print on <155>5m off <155>25m
white on black on <155>7m off <155>27m
subscript on <155>15e<O><4> <155>15k<P>
superscript on <155>15k<O><4> <155>15e<P>
set margin <155>[code] t
clear margin <155>[code] u
reverse line feed <140><140>
1/2 line feed <139>
reverse 1/2 lf <140>
# of copies <155><#> v
Here are commands you can use for single and double line drawing, except that
instead of a double line, you get a solid, but heavy, line. As you can see,
many of the lines are missing. If you get energetic enough to fill in these
blanks, how about sharing it with us? This information came from Word Perfect.
notes: <027> is ESC.
"c" is ascii-155 (the "cent" sign)
The two codes substitutions above were made so you can print this file.
All other characters and spaces are "literals" and should be sent
to the printer exactly as shown.
The following line is the first line of code sent to the printer by WP.
I have not analyzed it, but I assume it sets the margins and possibly does
some other things not related to the line drawing. However, I'm also guessing
that there is some code in here related to the line drawing that follows.
This code was generated by trapping printer output from WP into a file.
<027>;c?1;4;5;8lc11hc?2hc7 Ic0`c0dc50jc100kc0tc2tc3y<027>(Bc22;23mc0 Kc0 L
single lines:
c;255 G c;45 G c;30 G ? left top corner
c;255 G c;45 G c;30 G ? T
c;255 G c;45 G c;30 Gc4;;4{c7}c4;;3{c4} right top corner
c;255 G c;45 G c;30 Gc4;;1{c7}c4;;4{c5} |-
c;255 G c;45 G c;30 Gc4;;3{c5}c4;;1{c7} +
c;255 G c;45 G c;30 Gc4;;1{c7}c4;;3{c4} -|
c;255 G c;45 G c;30 Gc4;;1{c4}c4;;4{c5} bottom left corner
c;255 G c;45 G c;30 Gc4;;3{c5}c4;;1{c4} horiz. with vert. going up in middle
c;255 G c;45 G c;30 Gc4;;3{c4}c4;;1{c4} bottom right corner
double:
c;255 G c;45 G c;30 Gc9;;4{c5}c9;;4{c7} left top corner
c;255 G c;45 G c;30 Gc9;;3{c5}c9;;4{c7} T
c;255 G c;45 G c;30 Gc9;;3{c4}c9;;4{c7} right top corner
c;255 G c;45 G c;30 Gc9;;1{c7}c9;;4{c5} |-
c;255 G c;45 G c;30 Gc9;;1{c7}c9;;3{c5} +
c;255 G c;45 G c;30 Gc9;;1{c7}c9;;3{c4} -|
c;255 G c;45 G c;30 Gc9;;1{c4}c9;;4{c5} bottom left corner
c;255 G c;45 G c;30 Gc9;;3{c5}c9;;1{c4} horiz. with vert. going up in middle
c;255 G c;45 G c;30 Gc9;;3{c4}c9;;1{c4} bottom right corner
single horiz., double vert.:
c;255 G c;45 G c;30 G ? left top corner
c;255 G c;45 G c;30 G ? T (?)
c;255 G c;45 G c;30 G ? right top corner
c;255 G c;45 G c;30 Gc4;;4{c5}c9;;1{c7} |-
c;255 G c;45 G c;30 G ? + (?)
c;255 G c;45 G c;30 Gc4;;3{c4}c9;;1{c7} -|
c;255 G c;45 G c;30 G ? bottom left corner
c;255 G c;45 G c;30 G ? horiz. with vert.
c;255 G c;45 G c;30 G ? bottom right corner
double horiz., single vert.:
c;255 G c;45 G c;30 G ? left top corner
c;255 G c;45 G c;30 Gc4;;4{c7}c9;;3{c5} T
c;255 G c;45 G c;30 G ? right top corner
c;255 G c;45 G c;30 G ? |-
c;255 G c;45 G c;30 Gc4;;1{c7}c9;;3{c5} +
c;255 G c;45 G c;30 G -|
c;255 G c;45 G c;30 G ? bottom left corner
c;255 G c;45 G c;30 Gc4;;1{c4}c9;;3{c5} horiz. with vert. going up in middle
c;255 G c;45 G c;30 G ? bottom right corner